<!DOCTYPE html>
<html>
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8" /><!-- /Added by HTTrack -->
<head>
    <meta charset="utf-8">

    <title>{block name="title"}{/block}</title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width">

    <link rel="shortcut icon" href="favicon.ico">
    <link rel="stylesheet" href="/static/home/css/grid.css">
    <link rel="stylesheet" href="/static/home/css/style.css">
    <link rel="stylesheet" href="/static/home/css/normalize.css">
    <script src="/static/home/js/jquery.min.js"></script>
    <script>window.jQuery || document.write('<script src="js/jquery-1.8.3.min.js"><\/script>')</script>
    <script src="/static/home/js/html5.js"></script>
    <script src="/static/home/js/main.js"></script>
    <script src="/static/home/js/radio.js"></script>
    <script src="/static/home/js/checkbox.js"></script>
    <script src="/static/home/js/selectBox.js"></script>
    <script src="/static/home/js/jquery.carouFredSel-5.2.2-packed.js"></script>
    <script src="/static/home/js/jquery.jqzoom-core.js"></script>
    <script src="/static/home/js/jquery.transit.js"></script>
    <script src="/static/home/js/jquery.easing.1.2.js"></script>
    <script src="/static/home/js/jquery.anythingslider.js"></script>
    <script src="/static/home/js/jquery.anythingslider.fx.js"></script>
</head>
<body>
<div id="top">
    <div class="container_12">
        <div class="grid_3">
            <div class="lang">
                <ul>
                    <li class="current"><a href="#">EN</a></li>
                    <li><a href="#">FR</a></li>
                    <li><a href="#">GM</a></li>
                </ul>
            </div><!-- .lang -->

            <div class="currency">
                <ul>
                    <li class="current"><a href="#">$</a></li>
                    <li><a href="#">&#8364;</a></li>
                    <li><a href="#">&#163;</a></li>
                </ul>
            </div><!-- .currency -->
        </div><!-- .grid_3 -->
        <div class="grid_9">

            <nav>
                <ul>

                    {if $Think.cookie.userinfo['user_name']}
                        <li class="current"><a href="#"> {$Think.cookie.userinfo['user_name']}</a></li>
                        <!--<li class="current"><a href="#">我的账号</a></li>-->
                        <li><a href="#">我的收藏</a></li>
                        <li><a href="{:url('/home/login/logout')}">退出</a></li>
                    {elseif $Think.session.userinfo['user_name']}
                        <li class="current"><a href="#"> {$Think.session.userinfo['user_name']}</a></li>
                        <!--<li class="current"><a href="#">我的账号</a></li>-->
                        <li><a href="#">我的收藏</a></li>
                        <li><a href="{:url('/home/login/logout')}">退出</a></li>
                    {else}
                        <li><a href="{:url('/home/login/index')}">登录</a></li>
                        <li><a href="{:url('/home/login/create')}">注册</a></li>
                    {/if}
                </ul>
            </nav>
        </div><!-- .grid_9 -->
    </div>
</div><!-- #top -->

<header>
    <div class="container_12">
        <div class="grid_3">
            <hgroup>
                <h1 id="site_logo"><a href="index.html" title=""><img src="/static/home/img/logo.png" alt="Online Store Theme Logo"></a></h1>
                <h2 id="site_description">网站名称 logo</h2>
            </hgroup>
        </div><!-- .grid_3 -->

        <div class="grid_9">
            <div class="top_header">
                {if $Think.session.userinfo['user_name'] || $Think.cookie.userinfo['user_name']}

                {else}
                    <div class="welcome">
                        欢迎游客光临 <a href="{:url('/home/login/index')}">登录</a> or <a href="{:url('/home/login/create')}">创建用户</a>.
                    </div>
                {/if}

                <ul id="cart_nav">
                    <li>
                        <a class="cart_li" href="#">
                            <div class="cart_ico"></div>
                            Cart
                            <span>$0.00</span>
                        </a>
                        <ul class="cart_cont">
                            <li class="no_border recently">购物车商品</li>
                            <li>
                                <a href="product_page.html" class="prev_cart"><div class="cart_vert"><img src="/static/home/img/content/cart_/static/home/img.png" alt="Product 1" title=""></div></a>
                                <div class="cont_cart">
                                    <h4>商品名称</h4>
                                    <div class="price">数量 x <span>$金额</span></div>
                                </div>
                                <a title="close" class="close" href="#"></a>
                                <div class="clear"></div>
                            </li>
                            <li class="no_border">
                                <a href="{:url('/cart/index')}" class="view_cart">查看购物车</a>
                                <a href="checkout.html" class="checkout">结算</a>
                            </li>
                        </ul>
                    </li>
                </ul><!-- .cart_nav -->

                <form class="search">
                    <input type="submit" class="search_button" value="">
                    <input type="text" name="search" class="search_form" value="" placeholder="搜索所有商品">
                </form><!-- .search -->
            </div><!-- .top_header -->

            <nav class="primary" style="margin-top:25px;">
                <ul>
                    <li class="curent"><a href="/">首页</a></li>
                    {foreach $cate as $val}
                    <li class="parent">
                        <a href="catalog_grid.html">{$val['catname']}</a>
                        <ul class="sub">
                            {if(!empty($val['shop']))}
                            {foreach $val['shop'] as $v}
                            <li><a href="catalog_grid.html">{$v['catname']}</a></li>
                            {/foreach}
                            {/if}
                        </ul>
                    </li>
                    {/foreach}
                </ul>
            </nav><!-- .primary -->
        </div><!-- .grid_9 -->
    </div>
</header>

{block name="main"}
{/block}



<footer>
    <div class="footer_navigation">
        <div class="container_12">
            <div class="grid_3">
                <h3>Contact Us</h3>
                <ul class="f_contact">
                    <li>49 Archdale, 2B Charlestone</li>
                    <li>+777 (100) 1234</li>
                    <li>mail@example.com</li>
                </ul><!-- .f_contact -->
            </div><!-- .grid_3 -->

            <div class="grid_3">
                <h3>Information</h3>
                <nav class="f_menu">
                    <ul>
                        <li><a href="#">About As</a></li>
                        <li><a href="#">Privacy Policy</a></li>
                        <li><a href="#">Terms & Conditions</a></li>
                        <li><a href="#">Secure payment</a></li>
                    </ul>
                </nav><!-- .private -->
            </div><!-- .grid_3 -->

            <div class="grid_3">
                <h3>Costumer Servise</h3>
                <nav class="f_menu">
                    <ul>
                        <li><a href="#">Contact As</a></li>
                        <li><a href="#">Return</a></li>
                        <li><a href="#">FAQ</a></li>
                        <li><a href="#">Site Map</a></li>
                    </ul>
                </nav><!-- .private -->
            </div><!-- .grid_3 -->

            <div class="grid_3">
                <h3>My Account</h3>
                <nav class="f_menu">
                    <ul>
                        <li><a href="#">My Account</a></li>
                        <li><a href="#">Order History</a></li>
                        <li><a href="#">Wish List</a></li>
                        <li><a href="#">Newsletter</a></li>
                    </ul>
                </nav><!-- .private -->
            </div><!-- .grid_3 -->

            <div class="grid_12 newsletter-payments">
                <div class="newsletter">
                    <div class="icon-mail">Newsletter</div>
                    <p>Subscribe to notifications about discounts from our store</p>
                    <form>
                        <input type="submit" value="">
                        <input type="email" name="newsletter" value="" placeholder="Enter your email address...">
                    </form>
                </div><!-- .newsletter -->

                <div class="payments">
                    <img src="/static/home/img/payments.png" alt="Payments">
                </div><!-- .payments -->
            </div><!-- .grid_12.newsletter-payments -->

            <div class="clear"></div>
        </div><!-- .container_12 -->
    </div><!-- .footer_navigation -->

    <div class="footer_info">
        <div class="container_12">
            <div class="grid_6">
                <p class="copyright">1111111111111111111111© Diamond Store Theme, 2013.More Templates <a href="http://www.cssmoban.com/" target="_blank" title="模板之家">模板之家</a> - Collect from <a href="http://www.cssmoban.com/" title="网页模板" target="_blank">网页模板</a></p>
            </div><!-- .grid_6 -->

            <div class="grid_6">
                <div class="soc">
                    <a class="google" href="#"></a>
                    <a class="twitter" href="#"></a>
                    <a class="facebook" href="#"></a>
                </div><!-- .soc -->
            </div><!-- .grid_6 -->

            <div class="clear"></div>
        </div><!-- .container_12 -->
    </div><!-- .footer_info -->
</footer>
</body>
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8" /><!-- /Added by HTTrack -->
</html>
